package com.xyw.his00.pojo.dbpojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("disease")
public class Disease {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String diseaseCode;
    private String diseaseName;
    @TableField("diseaseICD")
    private String diseaseICD;
    private String diseaseCategory;

    public Disease(Integer id, String diseaseCode, String diseaseName, String diseaseICD, String diseaseCategory) {
        this.id = id;
        this.diseaseCode = diseaseCode;
        this.diseaseName = diseaseName;
        this.diseaseICD = diseaseICD;
        this.diseaseCategory = diseaseCategory;
    }
    public Disease(){

    }
}
